<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>健身资讯 - 十年全勤健身</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/icons.css">
    <link rel="stylesheet" href="css/mobile-nav.css">
    <link rel="stylesheet" href="css/quick-nav.css">
    <style>
        .news-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/imgs/news-bg.jpg') no-repeat center center;
            background-size: cover;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
            margin-top: 80px;
        }

        .news-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .news-content {
            padding: 4rem 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .news-categories {
            margin-bottom: 2rem;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .category-button {
            padding: 0.5rem 1.5rem;
            border: 2px solid #2ecc71;
            border-radius: 25px;
            background: none;
            color: #2ecc71;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .category-button:hover,
        .category-button.active {
            background: #2ecc71;
            color: #fff;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .news-card {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-5px);
        }

        .news-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .news-card-content {
            padding: 1.5rem;
        }

        .news-card-content h3 {
            color: #333;
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .news-card-content p {
            color: #666;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            color: #999;
            font-size: 0.9rem;
        }

        .pagination {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .page-button {
            padding: 0.5rem 1rem;
            border: 1px solid #ddd;
            background: none;
            color: #333;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .page-button:hover,
        .page-button.active {
            background: #2ecc71;
            color: #fff;
            border-color: #2ecc71;
        }

        @media (max-width: 768px) {
            .news-hero {
                height: 200px;
            }

            .news-hero h1 {
                font-size: 2rem;
            }

            .news-content {
                padding: 2rem 5%;
            }
        }
    </style>
</head>

<body>
    <header>
        <nav class="main-nav">
            <div class="logo">
                <a href="index.html">十年全勤健身</a>
            </div>
            <ul class="nav-links">
                <li><a href="index.html">首页</a></li>
                <li><a href="courses.html">课程介绍</a></li>
                <li><a href="trainers.html">教练团队</a></li>
                <li><a href="facilities.html">器材设施</a></li>
                <li><a href="news.html" class="active">健身资讯</a></li>
                <li><a href="shop.html">在线商城</a></li>
                <li><a href="member.html">会员中心</a></li>
                <li><a href="events.html">活动专区</a></li>
                <li><a href="about.html">关于我们</a></li>
                <li><a href="contact.html">联系我们</a></li>
            </ul>
        </nav>
    </header>

    <section class="news-hero">
        <div class="news-hero-content">
            <h1>健身资讯</h1>
            <p>掌握最新健身知识，科学健身每一天</p>
        </div>
    </section>

    <main class="news-content">
        <div class="news-categories">
            <button class="category-button active">全部</button>
            <button class="category-button">健身知识</button>
            <button class="category-button">饮食营养</button>
            <button class="category-button">训练技巧</button>
            <button class="category-button">健康生活</button>
        </div>

        <div class="news-grid">
            <article class="news-card">
                <a href="news-detail.html" style="text-decoration: none; color: inherit;">
                    <img src="assets/imgs/new1.png" alt="健身知识文章">
                    <div class="news-card-content">
                        <h3>科学健身：如何制定合理的训练计划</h3>
                        <p>制定合理的训练计划是实现健身目标的关键。本文将为您详细介绍训练计划的制定方法...</p>
                        <div class="news-meta">
                            <span>健身知识</span>
                            <span>2024-01-15</span>
                        </div>
                    </div>
                </a>
            </article>

            <article class="news-card">
                <a href="news-detail.html" style="text-decoration: none; color: inherit;">
                    <img src="assets/imgs/new2.png" alt="饮食营养文章">
                    <div class="news-card-content">
                        <h3>增肌期的营养搭配指南</h3>
                        <p>合理的营养摄入对增肌效果至关重要。本文将详细介绍增肌期的饮食原则和营养搭配...</p>
                        <div class="news-meta">
                            <span>饮食营养</span>
                            <span>2024-01-12</span>
                        </div>
                    </div>
                </a>
            </article>

            <article class="news-card">
                <a href="news-detail.html" style="text-decoration: none; color: inherit;">
                    <img src="assets/imgs/new1.png" alt="训练技巧文章">
                    <div class="news-card-content">
                        <h3>深蹲动作要领详解</h3>
                        <p>深蹲是一项基础但重要的训练动作。本文将为您详细讲解标准深蹲的正确姿势和注意事项...</p>
                        <div class="news-meta">
                            <span>训练技巧</span>
                            <span>2024-01-10</span>
                        </div>
                    </div>
                </a>
            </article>

            <article class="news-card">
                <a href="news-detail.html" style="text-decoration: none; color: inherit;">
                    <img src="assets/imgs/new2.png" alt="健康生活文章">
                    <div class="news-card-content">
                        <h3>运动后的恢复方法</h3>
                        <p>科学的恢复对提高训练效果非常重要。本文将介绍几种实用的运动后恢复方法...</p>
                        <div class="news-meta">
                            <span>健康生活</span>
                            <span>2024-01-08</span>
                        </div>
                    </div>
                </a>
            </article>

            <article class="news-card">
                <a href="news-detail.html" style="text-decoration: none; color: inherit;">
                    <img src="assets/imgs/new1.png" alt="训练技巧文章">
                    <div class="news-card-content">
                        <h3>如何正确使用跑步机</h3>
                        <p>跑步机是常见的有氧运动器材。本文将教您如何正确使用跑步机，避免运动损伤...</p>
                        <div class="news-meta">
                            <span>训练技巧</span>
                            <span>2024-01-05</span>
                        </div>
                    </div>
                </a>
            </article>

            <article class="news-card">
                <a href="news-detail.html" style="text-decoration: none; color: inherit;">
                    <img src="assets/imgs/new2.png" alt="饮食营养文章">
                    <div class="news-card-content">
                        <h3>运动前后的营养补充</h3>
                        <p>合理的营养补充可以提高训练效果。本文将详细介绍运动前后的营养补充策略...</p>
                        <div class="news-meta">
                            <span>饮食营养</span>
                            <span>2024-01-02</span>
                        </div>
                    </div>
                </a>
            </article>
        </div>

        <div class="pagination">
            <button class="page-button active">1</button>
            <button class="page-button">2</button>
            <button class="page-button">3</button>
            <button class="page-button">4</button>
            <button class="page-button">5</button>
        </div>
    </main>

    <footer>
        <div class="footer-content">
            <div class="footer-section">
                <h4>联系我们</h4>
                <p>地址：济南市章丘区健身大街88号</p>
                <p>电话：400-XXX-XXXX</p>
                <p>邮箱：info@qiangjian.com</p>
            </div>
            <div class="footer-section">
                <h4>关注我们</h4>
                <div class="social-links">
                    <a href="#" class="social-link">微信</a>
                    <a href="#" class="social-link">微博</a>
                    <a href="#" class="social-link">抖音</a>
                </div>
            </div>
        </div>
        <div class="footer-bottom">
            <p>&copy; 2024 十年全勤健身 版权所有</p>
        </div>
    </footer>

    <nav class="quick-nav">
        <ul class="quick-nav-links">
            <li><a href="index.html">首页</a></li>
            <li><a href="courses.html">课程介绍</a></li>
            <li><a href="trainers.html">教练团队</a></li>
            <li><a href="facilities.html">器材设施</a></li>
            <li><a href="news.html">健身资讯</a></li>
            <li><a href="shop.html">在线商城</a></li>
            <li><a href="member.html">会员中心</a></li>
            <li><a href="events.html">活动专区</a></li>
            <li><a href="about.html">关于我们</a></li>
            <li><a href="contact.html">联系我们</a></li>
        </ul>
    </nav>

    <script src="js/mobile-nav.js"></script>
    <script src="js/nav-highlight.js"></script>
</body>

</html>